<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试</title>
</head>
<body>
        {% for item in sl %}
        <h2> {{ item.name }} ===== {{ item.age }} </h2>
        {% endfor %}
</body>
</html>